package com.monitor.entity;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 物料流转关联表
 * </p>
 *
 * @author LX
 * @since 2018-09-08
 */
@TableName("erp_materiel_flow_relation")
public class ErpMaterielFlowRelation extends Model<ErpMaterielFlowRelation> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 物料流转单号
     */
    @TableField("materiel_flow_sheet_id_c")
    private String materielFlowSheetIdC;
    /**
     * 物料流转单号
     */
    @TableField("materiel_flow_sheet_id_r")
    private String materielFlowSheetIdR;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getMaterielFlowSheetIdC() {
        return materielFlowSheetIdC;
    }

    public void setMaterielFlowSheetIdC(String materielFlowSheetIdC) {
        this.materielFlowSheetIdC = materielFlowSheetIdC;
    }

    public String getMaterielFlowSheetIdR() {
        return materielFlowSheetIdR;
    }

    public void setMaterielFlowSheetIdR(String materielFlowSheetIdR) {
        this.materielFlowSheetIdR = materielFlowSheetIdR;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "ErpMaterielFlowRelation{" +
        ", id=" + id +
        ", materielFlowSheetIdC=" + materielFlowSheetIdC +
        ", materielFlowSheetIdR=" + materielFlowSheetIdR +
        "}";
    }
}
